package com.huawei.appgallery.assistantdock.base.externalaction.openviewaction;

import android.app.Activity;
import com.huawei.secure.android.common.intent.SafeIntent;
import o.dys.a;
import o.eth;

public class NetConfigAction extends IOpenViewAction {
    public static final String ACTION_NET_CONFIG = "com.huawei.gamebox.ACTION_NET_CONFIG";

    public NetConfigAction(a aVar, SafeIntent safeIntent) {
        super(aVar, safeIntent);
    }

    public void onAction() {
        dispatchGuideConnectNetwork();
    }

    private void dispatchGuideConnectNetwork() {
        if (this.callback instanceof Activity) {
            Activity activity = (Activity) this.callback;
            eth.ˊ((Activity) this.callback);
            activity.finish();
        }
    }
}
